package com.ryan.encrypttool.common.entity.input;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @program encrypt-tool
 * @description 分页请求对象
 * @author ryan
 * @create 2024-03-03 02:34
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Accessors(chain = true)
public class PageRequest<T> {

    private T condition;
    private Integer pageNo;
    private Integer pageSize;
    private List<OrderItem> orders;
}
